package com.molichuxing.services.infrastructure.bean;

import java.time.LocalDateTime;

import com.molichuxing.framework.bean.RootBean;

public class OrderDeliveryBean extends RootBean {
    /**
     *  id
     */
    private Integer id;

    /**
     * 订单号 order_code
     */
    private Long orderCode;

    /**
     * 车辆id car_id
     */
    private Integer carId;

    /**
     * 门店id store_id
     */
    private Integer storeId;

    /**
     * 销售顾问id salesman_id
     */
    private Integer salesmanId;

    /**
     * 销售顾问姓名 salesman_name
     */
    private String salesmanName;

    /**
     * 销售顾问身份证号 salesman_id_number
     */
    private String salesmanIdNumber;

    /**
     * 交车终端cpu cpu_serial
     */
    private String cpuSerial;

    /**
     * 交车时间 delivery_time
     */
    private LocalDateTime deliveryTime;

    /**
     * 创建时间 gmt_create
     */
    private LocalDateTime gmtCreate;

    /**
     * 修改时间 gmt_modified
     */
    private LocalDateTime gmtModified;

    /**
     * orders_order_delivery
     */
    private static final long serialVersionUID = 1L;

    /**
     * 
     * @date 2019-09-17 17:52:27
     * @return id 
     */
    @Override
	public Integer getId() {
        return id;
    }

    /**
     * 
     * @date 2019-09-17 17:52:27
     * @param id 
     */
    @Override
	public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 订单号
     * @date 2019-09-17 17:52:27
     * @return order_code 订单号
     */
    public Long getOrderCode() {
        return orderCode;
    }

    /**
     * 订单号
     * @date 2019-09-17 17:52:27
     * @param orderCode 订单号
     */
    public void setOrderCode(Long orderCode) {
        this.orderCode = orderCode;
    }

    /**
     * 车辆id
     * @date 2019-09-17 17:52:27
     * @return car_id 车辆id
     */
    public Integer getCarId() {
        return carId;
    }

    /**
     * 车辆id
     * @date 2019-09-17 17:52:27
     * @param carId 车辆id
     */
    public void setCarId(Integer carId) {
        this.carId = carId;
    }

    /**
     * 门店id
     * @date 2019-09-17 17:52:27
     * @return store_id 门店id
     */
    public Integer getStoreId() {
        return storeId;
    }

    /**
     * 门店id
     * @date 2019-09-17 17:52:27
     * @param storeId 门店id
     */
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    /**
     * 销售顾问id
     * @date 2019-09-17 17:52:27
     * @return salesman_id 销售顾问id
     */
    public Integer getSalesmanId() {
        return salesmanId;
    }

    /**
     * 销售顾问id
     * @date 2019-09-17 17:52:27
     * @param salesmanId 销售顾问id
     */
    public void setSalesmanId(Integer salesmanId) {
        this.salesmanId = salesmanId;
    }

    /**
     * 销售顾问姓名
     * @date 2019-09-17 17:52:27
     * @return salesman_name 销售顾问姓名
     */
    public String getSalesmanName() {
        return salesmanName;
    }

    /**
     * 销售顾问姓名
     * @date 2019-09-17 17:52:27
     * @param salesmanName 销售顾问姓名
     */
    public void setSalesmanName(String salesmanName) {
        this.salesmanName = salesmanName == null ? null : salesmanName.trim();
    }

    /**
     * 销售顾问身份证号
     * @date 2019-09-17 17:52:27
     * @return salesman_id_number 销售顾问身份证号
     */
    public String getSalesmanIdNumber() {
        return salesmanIdNumber;
    }

    /**
     * 销售顾问身份证号
     * @date 2019-09-17 17:52:27
     * @param salesmanIdNumber 销售顾问身份证号
     */
    public void setSalesmanIdNumber(String salesmanIdNumber) {
        this.salesmanIdNumber = salesmanIdNumber == null ? null : salesmanIdNumber.trim();
    }

    /**
     * 交车终端cpu
     * @date 2019-09-17 17:52:27
     * @return cpu_serial 交车终端cpu
     */
    public String getCpuSerial() {
        return cpuSerial;
    }

    /**
     * 交车终端cpu
     * @date 2019-09-17 17:52:27
     * @param cpuSerial 交车终端cpu
     */
    public void setCpuSerial(String cpuSerial) {
        this.cpuSerial = cpuSerial == null ? null : cpuSerial.trim();
    }

    /**
     * 交车时间
     * @date 2019-09-17 17:52:27
     * @return delivery_time 交车时间
     */
    public LocalDateTime getDeliveryTime() {
        return deliveryTime;
    }

    /**
     * 交车时间
     * @date 2019-09-17 17:52:27
     * @param deliveryTime 交车时间
     */
    public void setDeliveryTime(LocalDateTime deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    /**
     * 创建时间
     * @date 2019-09-17 17:52:27
     * @return gmt_create 创建时间
     */
    @Override
	public LocalDateTime getGmtCreate() {
        return gmtCreate;
    }

    /**
     * 创建时间
     * @date 2019-09-17 17:52:27
     * @param gmtCreate 创建时间
     */
    @Override
	public void setGmtCreate(LocalDateTime gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /**
     * 修改时间
     * @date 2019-09-17 17:52:27
     * @return gmt_modified 修改时间
     */
    @Override
	public LocalDateTime getGmtModified() {
        return gmtModified;
    }

    /**
     * 修改时间
     * @date 2019-09-17 17:52:27
     * @param gmtModified 修改时间
     */
    @Override
	public void setGmtModified(LocalDateTime gmtModified) {
        this.gmtModified = gmtModified;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OrderDeliveryBean other = (OrderDeliveryBean) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getOrderCode() == null ? other.getOrderCode() == null : this.getOrderCode().equals(other.getOrderCode()))
            && (this.getCarId() == null ? other.getCarId() == null : this.getCarId().equals(other.getCarId()))
            && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId()))
            && (this.getSalesmanId() == null ? other.getSalesmanId() == null : this.getSalesmanId().equals(other.getSalesmanId()))
            && (this.getSalesmanName() == null ? other.getSalesmanName() == null : this.getSalesmanName().equals(other.getSalesmanName()))
            && (this.getSalesmanIdNumber() == null ? other.getSalesmanIdNumber() == null : this.getSalesmanIdNumber().equals(other.getSalesmanIdNumber()))
            && (this.getCpuSerial() == null ? other.getCpuSerial() == null : this.getCpuSerial().equals(other.getCpuSerial()))
            && (this.getDeliveryTime() == null ? other.getDeliveryTime() == null : this.getDeliveryTime().equals(other.getDeliveryTime()))
            && (this.getGmtCreate() == null ? other.getGmtCreate() == null : this.getGmtCreate().equals(other.getGmtCreate()))
            && (this.getGmtModified() == null ? other.getGmtModified() == null : this.getGmtModified().equals(other.getGmtModified()));
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getOrderCode() == null) ? 0 : getOrderCode().hashCode());
        result = prime * result + ((getCarId() == null) ? 0 : getCarId().hashCode());
        result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode());
        result = prime * result + ((getSalesmanId() == null) ? 0 : getSalesmanId().hashCode());
        result = prime * result + ((getSalesmanName() == null) ? 0 : getSalesmanName().hashCode());
        result = prime * result + ((getSalesmanIdNumber() == null) ? 0 : getSalesmanIdNumber().hashCode());
        result = prime * result + ((getCpuSerial() == null) ? 0 : getCpuSerial().hashCode());
        result = prime * result + ((getDeliveryTime() == null) ? 0 : getDeliveryTime().hashCode());
        result = prime * result + ((getGmtCreate() == null) ? 0 : getGmtCreate().hashCode());
        result = prime * result + ((getGmtModified() == null) ? 0 : getGmtModified().hashCode());
        return result;
    }

    /**
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", orderCode=").append(orderCode);
        sb.append(", carId=").append(carId);
        sb.append(", storeId=").append(storeId);
        sb.append(", salesmanId=").append(salesmanId);
        sb.append(", salesmanName=").append(salesmanName);
        sb.append(", salesmanIdNumber=").append(salesmanIdNumber);
        sb.append(", cpuSerial=").append(cpuSerial);
        sb.append(", deliveryTime=").append(deliveryTime);
        sb.append(", gmtCreate=").append(gmtCreate);
        sb.append(", gmtModified=").append(gmtModified);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}